/*Copyright (C) 2009 - 2011 MASSART GAUTHIER and Careil Baptiste

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "../headers.h"

int chif_get_player_choice(char player_name[30], int nb_manche, int manche_max, const char *contenu_titre, const char *contenu_menu) {
	clear();
	afficher_titre(contenu_titre);
	CSLP_ColorText(CT);
	printw("\nManche %i / %i .\n\n", nb_manche, manche_max);
	CSLP_ColorText(COLOR_RED);
	addstr(player_name);
	CSLP_ColorText(CT);
	addstr(", que faites-vous?\n\n");
	return afficher_menu_simple(contenu_menu);
}
